<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/page/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>面试记录统计</title>
<link href="${ctx}/css/recuitment.css" rel="stylesheet" type="text/css" />
<jsp:include page="/page/common/common.jsp" />
</head>
<body>
<div class="s_main">
<div class="title">面试记录统计</div>
<hr>
<s:form action="/rect/statPosition.do" theme="simple">
	<div class="ls_content">
	<table>
		<tr>
			<td>公司名称:<select name="condition.complayId" id="complayId">
				<option value="">--请选择--</option>
				<s:iterator value="complayDTOList">
					<option value="<s:property value="id"/>"><s:property value="complayName"/></option>
				</s:iterator>
			</select>
			</td>
			<td>部门名称:<select name="condition.deptId"
			id="departmentId">
			<option value="">--请选择--</option>
			<s:iterator value="departmentDTOList">
				<option value="<s:property value="id"/>"><s:property value="departmentName"/></option>
			</s:iterator>
		</select>
			</td>
			<td>职位名称:<select name="condition.positionId" id="positionId">
			<option value="">--请选择--</option>
			<s:iterator value="positionDTOList">
				<option value="<s:property value="id"/>"><s:property value="positionName"/></option>
			</s:iterator>
		</select>
			</td>
		</tr>
		<tr>
			<td colspan="2"><s:hidden name="condition.isDel" value="1"></s:hidden>
			通知日期: 开始<s:textarea name="condition.startTime" cssClass="Wdate"
				onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" readonly="true" /> — 结束
			<s:textarea name="condition.endTime" cssClass="Wdate"
				onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" readonly="true" /> <input
				type="submit" value="查  询" class="add_btn" /></td>
		</tr>
	</table>
	<table class="stripe_tb">
		<thead>
			<tr>
				<th>职位</th>
				<th>推荐简历总数</th>
				<th>可用简历数</th>
				<th>比例</th>
				<th>通知人数</th>
				<th>比例</th>
				<th>面试人数</th>
				<th>比例</th>
				<th>录用人数</th>
				<th>比例</th>
			</tr>
		</thead>
		<tbody>
			<s:set name="infototal" value="0"/>
			<s:set name="anaudittotal" value="0"/>
			<s:set name="employtotal" value="0"/>
			<s:set name="rusumeNumtotal" value="0"/>
			<s:set name="useRusumeNumtotal" value="0"/>
			<s:iterator value="anAuditionDTOlist" var="anAnditioinDTO">
				<s:set name="infototal" value="#infototal+informNum"/>
				<s:set name="anaudittotal" value="#anaudittotal+anAuditionNum"/>
				<s:set name="employtotal" value="#employtotal+employNum"/>
				<s:set name="rusumeNumtotal" value="#rusumeNumtotal+rusumeNum"/>
				<s:set name="useRusumeNumtotal" value="#useRusumeNumtotal+useRusumeNum"/>
				<tr>
					<td><s:property value="positionName" /></td>
					<td><s:property value="rusumeNum" /></td>
					<td><s:property value="useRusumeNum" /></td>
					<td><s:property value="userusumescale" /></td>
					<td><s:property value="informNum" /></td>
					<td><s:property value="informscale" /></td>
					<td><s:property value="anAuditionNum" /></td>
					<td><s:property value="auditionscale" /></td>
					<td><s:property value="employNum" /></td>
					<td><s:property value="employscale" /></td>
				</tr>
			</s:iterator>
		</tbody>
		<tfoot>
			<tr><td>合计</td><td><s:property value="#rusumeNumtotal"/></td><td colspan="2"><s:property value="#useRusumeNumtotal"/></td><td colspan="2"><s:property value="#infototal"/></td><td colspan="2"><s:property value="#anaudittotal"/></td><td colspan="2"><s:property value="#employtotal"/></td></tr>
		</tfoot>
	</table>
	</div>
</s:form></div>
</body>
</html>